Ext.define('SA.model.Survey', {
    extend: 'Ext.data.Model',
    fields: [
        {name: 'id', type: 'int'},
        'name',
        {name: 'categoryId', type: 'int'},
        {name: 'hierarchyItemId', type: 'int'},
        'vxml',
        {name: 'numberOfQuestions', type: 'int', defaultValue: 0},
        {name: 'voiceRecording', type: 'int', defaultValue: 0},
        'type',
        {name: 'resultFollowup', type: 'boolean' },
        {name: 'displayResultAverage', type: 'boolean' },
        'status'
     ],
     idProperty: 'id'
});
